/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="BRADESCO")
public class BradescoProteu implements Serializable{

    @Id
    @Column(name="BRA_ST_CODIGO")
    private String braStCodigo; //nao eh chave primaria no DB
    @Column(name="BRA_IN_LINK_CODIGO")
    private Integer braInLinkCodigo;
    @Column(name="BRA_ST_PROCEDIMENTO")
    private String braStProcedimento;
    @Column(name="BRA_NU_VALOR_INDIVIDUAL")
    private Double braNuValorIndividual;
    @Column(name="BRA_NU_VALOR_EMPRESARIAL")
    private Double braNuValorEmpresarial;
    @Column(name="BRA_IN_NUM_ASSISTENCIA")
    private Integer braInNumAssistencia;
    @Column(name="BRA_IN_ANESTETICA")
    private Integer braInAnestetica;
    @Column(name="BRA_NU_FILME")
    private Double braNuFilme;
    @Column(name="BRA_IN_OCORRENCIA")
    private Integer braInOcorrencia;
    @Column(name="BRA_NU_CUSTO_OPERACIONAL_CH")
    private Double braNuCustoOperacionalCH;
    @Column(name="BRA_ST_UR")
    private String braStUr;


    public Integer getBraInAnestetica() {
        return braInAnestetica;
    }

    public void setBraInAnestetica(Integer braInAnestetica) {
        this.braInAnestetica = braInAnestetica;
    }

    public Integer getBraInLinkCodigo() {
        return braInLinkCodigo;
    }

    public void setBraInLinkCodigo(Integer braInLinkCodigo) {
        this.braInLinkCodigo = braInLinkCodigo;
    }

    public Integer getBraInNumAssistencia() {
        return braInNumAssistencia;
    }

    public void setBraInNumAssistencia(Integer braInNumAssistencia) {
        this.braInNumAssistencia = braInNumAssistencia;
    }

    public Integer getBraInOcorrencia() {
        return braInOcorrencia;
    }

    public void setBraInOcorrencia(Integer braInOcorrencia) {
        this.braInOcorrencia = braInOcorrencia;
    }

    public Double getBraNuCustoOperacionalCH() {
        return braNuCustoOperacionalCH;
    }

    public void setBraNuCustoOperacionalCH(Double braNuCustoOperacionalCH) {
        this.braNuCustoOperacionalCH = braNuCustoOperacionalCH;
    }

    public Double getBraNuFilme() {
        return braNuFilme;
    }

    public void setBraNuFilme(Double braNuFilme) {
        this.braNuFilme = braNuFilme;
    }

    public Double getBraNuValorEmpresarial() {
        return braNuValorEmpresarial;
    }

    public void setBraNuValorEmpresarial(Double braNuValorEmpresarial) {
        this.braNuValorEmpresarial = braNuValorEmpresarial;
    }

    public Double getBraNuValorIndividual() {
        return braNuValorIndividual;
    }

    public void setBraNuValorIndividual(Double braNuValorIndividual) {
        this.braNuValorIndividual = braNuValorIndividual;
    }

    public String getBraStCodigo() {
        return braStCodigo;
    }

    public void setBraStCodigo(String braStCodigo) {
        this.braStCodigo = braStCodigo;
    }

    public String getBraStProcedimento() {
        return braStProcedimento;
    }

    public void setBraStProcedimento(String braStProcedimento) {
        this.braStProcedimento = braStProcedimento;
    }

    public String getBraStUr() {
        return braStUr;
    }

    public void setBraStUr(String braStUr) {
        this.braStUr = braStUr;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final BradescoProteu other = (BradescoProteu) obj;
        if ((this.braStCodigo == null) ? (other.braStCodigo != null) : !this.braStCodigo.equals(other.braStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 29 * hash + (this.braStCodigo != null ? this.braStCodigo.hashCode() : 0);
        return hash;
    }

    

}
